<logic:messagesPresent >
    <bean:message key="errors.header" />
    <ul class="mensajeError">
        <html:messages id="error" >
            <li><bean:write name="error"/></li>
        </html:messages>
    </ul>
</logic:messagesPresent>